package com.heima.apis.behavior;

import com.heima.model.behavior.dtos.UnLikesBehaviorDto;
import com.heima.model.behavior.pojos.ApUnlikesBehavior;
import com.heima.model.common.dtos.ResponseResult;

public interface ApUnLikeBehaviorControllerApi {
    /**
     * 用户不喜欢和取消不喜欢接口
     * @param dto
     * @return
     */
    public ResponseResult unLike(UnLikesBehaviorDto dto);

    /**
     * 根据实体id和文章id查询不喜欢行为
     * @param articleId
     * @param entryId
     * @return
     */
    public ApUnlikesBehavior findUnLikeByArticleIdAndEntryId(Long articleId , Integer entryId);
}
